package com.itheima.dao;

import com.itheima.domain.Visit;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName:VisitDao
 * Package:com.itheima.dao
 * Description:
 * Date:2020/3/2413:41
 * User: snow
 */
@Repository
public interface VisitDao {

	public List<Visit> findAll()throws Exception;

	public List<Visit> findSome(Visit visit)throws Exception;

	void save(Visit visit);

	void delete(String id);

	Visit findById(String id);
}
